package com.samphanie.auiu

import android.content.Context
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.Observer
import com.samphanie.auiu.pub_mod.model.UserProfile

/**
 * @author Dries
 **/
interface ILoginService {

    fun login(context: Context?, observer: Observer<Boolean>)

    fun isLogin(): Boolean

    fun getUserProfile(lifecycleOwner: LifecycleOwner?, observer: Observer<UserProfile?>, onlyCache: Boolean)

}